Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
bpk-component-icon-css
Advanced tools
Backpack icon components.
npm install bpk-component-icon --save-dev
import React from 'react';
import BpkSmallFlightIcon from 'bpk-component-icon/sm/flight';
import BpkLargeAccessibilityIcon from 'bpk-component-icon/lg/accessibility';
import './icons.scss';
export default () => (
<div>
<BpkSmallFlightIcon className="abc-icon__flight" />
<BpkLargeAccessibilityIcon className="abc-icon__a11y" />
</div>
);
icons.scss
:
@import '~bpk-mixins';
.abc-icon__flight {
fill: currentColor; // see https://css-tricks.com/currentcolor/
}
.abc-icon__a11y {
fill: $bpk-color-sky-blue;
}
import React from 'react';
import BpkButton from 'bpk-component-button';
import BpkSmallFlightIcon from 'bpk-component-icon/sm/flight';
import BpkLargeAccessibilityIcon from 'bpk-component-icon/lg/accessibility';
import { withButtonAlignment, withLargeButtonAlignment } from 'bpk-component-icon';
const AlignedBpkSmallFlightIcon = withButtonAlignment(BpkSmallFlightIcon);
const AlignedBpkLargeAccessibilityIcon = withLargeButtonAlignment(BpkLargeAccessibilityIcon);
export default () => (
<div>
<BpkButton>
<AlignedBpkSmallFlightIcon />
</BpkButton>
<BpkButton large>
<AlignedBpkLargeAccessibilityIcon />
</BpkButton>
</div>
);
import React from 'react';
import BpkSmallFlightIcon from 'bpk-component-icon/sm/flight';
import { withRtlSupport } from 'bpk-component-icon';
import './icons.scss';
const RtlSupportedBpkSmallFlightIcon = withRtlSupport(BpkSmallFlightIcon);
export default () => (
<RtlSupportedBpkSmallFlightIcon className="abc-icon__flight" />
);
FAQs
Backpack icon components.
The npm package bpk-component-icon-css receives a total of 3 weekly downloads. As such, bpk-component-icon-css popularity was classified as not popular.
We found that bpk-component-icon-css demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.